package com.csdj.t309springboot.mapper;

import com.csdj.t309springboot.entity.Topic;
import com.csdj.t309springboot.entity.TopicExample;
import java.util.List;

public interface TopicMapper {
    long countByExample(TopicExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Topic record);

    int insertSelective(Topic record);

    List<Topic> selectByExampleWithBLOBs(TopicExample example);

    List<Topic> selectByExample(TopicExample example);

    /**
     *
     * @param example
     * @return
     */
    List<Topic> selectByExampledetaiils(TopicExample example);

    Topic selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Topic record);

    int updateByPrimaryKeyWithBLOBs(Topic record);

    int updateByPrimaryKey(Topic record);
}